﻿(function () {

    window.CD = {};

    CD.LocalCommands = {

        LOAD: 0
    };

    CD.LocalCommands.HL = {
        CANCEL: 1,
        LOAD: 2,
        PLAY: 13,
        PAUSE: 14,
        STOP: 15
    };

    CD.LocalCommands.Mapper = {

        SHOW: 3,
        HIDE: 4,
        LOAD: 16,
        SEARCH: 18
    };

    CD.WebCommands = {

        GOOGLE_ERROR: 5,
        LOADED: 6
    };

    CD.WebCommands.HL = {

        ERROR: 7,
        ROUTE_PROGRESS: 8,
        ROUTE_COMPLETE: 9,
        LOAD_PROGRESS: 10,
        LOAD_COMPLETE: 11,
        LOAD_CANCELLED: 12
    };

    CD.WebCommands.Mapper = {

        SHOW_BARS: 17,
        INVALID_SEARCH: 19,
        START_CHANGED: 20,
        LOOKAT_CHANGED: 21,
        END_CHANGED: 22
    };
})();